package com.swjd.sbm.service.impl;

import com.swjd.sbm.dao.Api_syjthreadMapper;
import com.swjd.sbm.service.TouGaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class TouGaoServiceImpl implements TouGaoService {
    @Autowired
    private Api_syjthreadMapper api_syjthreadMapper;

    @Override
    public List<Map<String, Object>> mygao(int page, int pageCount, String stuats) {
        return api_syjthreadMapper.mygao(page, pageCount, stuats);
    }

    @Override
    public int addp(String img, String text, String date) {
        return api_syjthreadMapper.addp(img, text, date);
    }
}
